home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 12 / Cream of the Crop 12 (Part II) / Cream of the Crop 12 (Part II).iso / OS2 / VD08SMP.ZIP / usr / samples / Textview.prj / Makefile < prev    next >
Encoding:
Makefile  |  1996-02-13  |  1.7 KB  |  101 lines

  1. # Makefile for project: 
  2. #
  3. # This file was automatically generated by Project Editor
  4. # (C) 1995 by Thomas Baier.
  5. #
  6. # Unregistered version
  7. #
  8. # Do not edit this file manually!
  9.  
  10. # Variable section
  11. CC = gcc
  12. CPP = $(CC) -E
  13. AR = ar
  14. MAKE = make
  15. TOUCH = touch
  16. RM = rm -f
  17. STRIP = emxbind -s
  18. BIND = emxbind -ep
  19. RC = rc -r
  20.  
  21. CFLAGS = -O2
  22. LFLAGS = -O2
  23.  
  24. # Default rules for C and Objective C source code and resource definition files
  25. .SUFFIXES: .h .m .c .rc .res $(OBJ) $(EXE)
  26.  
  27. .c.o:
  28.     $(CC) -c $(CFLAGS) $<
  29.  
  30. .m.o:
  31.     $(CC) -c $(CFLAGS) $<
  32.  
  33. .rc.res:
  34.     $(RC) $<
  35.  
  36. # Project settings
  37. MTLFLAG = 
  38. DLLLFLAG = 
  39.  
  40. EXEFILE = textview.exe
  41.  
  42. LIBS = -lobjcpm -lobjcutil -lobjc
  43.  
  44. ADDLIBS = 
  45.  
  46. CLASSES =     Main.o \
  47.         Controller.o
  48.  
  49. OTHERS =     Textview.res
  50.  
  51.  
  52. # Local compilation rules
  53. all: $(EXEFILE)
  54.  
  55. debug:
  56.     $(MAKE) "CFLAGS=-g" "LFLAGS=-g" debug.exe
  57.  
  58. $(EXEFILE): $(CLASSES) $(OTHERS)
  59.     $(CC) -o $(EXEFILE) $(CLASSES) $(OTHERS) $(LIBS) $(ADDLIBS) \
  60.         $(LFLAGS) $(MTLFLAG) $(DLLLFLAG) 
  61.     $(BIND) $(EXEFILE)
  62.     $(STRIP) $(EXEFILE)
  63.  
  64. debug.exe: $(CLASSES) $(OTHERS)
  65.     $(CC) -o debug.exe $(CLASSES) $(OTHERS) $(LIBS) $(ADDLIBS) \
  66.         $(LFLAGS) $(MTLFLAG) $(DLLLFLAG) 
  67.     $(BIND) debug.exe
  68.  
  69.  
  70. # Other targets
  71. clean:
  72.     $(RM) $(CLASSES) $(OTHERS) 
  73.     $(RM) $(EXEFILE) debug.exe
  74.     $(RM) *~
  75.     $(RM) core
  76.  
  77. # End of Makefile for project 
  78.  
  79. # Project: 
  80. # -------
  81. #
  82. #
  83. # Project directory: D:\Development\samples\Textview.prj\
  84. # -----------------
  85. #
  86. # Header files:
  87. # ------------
  88. #    Controller.h
  89. #
  90. # Implementation files:
  91. # --------------------
  92. #    Main.m
  93. #    Controller.m
  94. #
  95. # C source code files:
  96. # -------------------
  97. #
  98. # Resource scripts:
  99. # ----------------
  100. #    Textview.rc
  101.